<!doctype html>
<html>
<head>
    <include file="public/head"/>
    <title>千佰特app更新管理</title>
    <meta name="description" content="千佰特app更新管理">
    <meta name="keywords" content="千佰特app更新管理">
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a>app更新</a></li>
        <li><a href="{:cmf_plugin_url('QbtAppUpdate://AdminIndex/add')}">版本添加</a></li>
    </ul>
    <form method="post" class="js-ajax-form margin-top-20" action="#">
        <div class="table_list">
            <table width="100%" class="table table-hover">
                <thead>
                <tr>
                    <th>名称</th>
                    <th>版本号</th>
                    <th>api标识</th>
                    <th>所属类型</th>
                    <th>时间</th>
                    <th>是否强制更新</th>
                    <th width="120">操作</th>
                </tr>
                </thead>
                <tbody>
                <foreach name="lists" item="vo">
                    <tr>
                        <td>{$vo.app_name}</td>
                        <td>{$vo.version_code}</td>
                        <td>{$vo.iden}</td>
                        <td><if condition="$vo.type eq 1">安卓 <elseif condition="$vo.type eq 2" />ios <elseif condition="$vo.type eq 3" />微信小程序</if></td>
                        <td>{$vo.create_time|date='Y-m-d H:i:s',###}</td>
                        <td><if condition="$vo.force eq 1">
                            是
                            <else />
                            否
                        </if></td>
                        <td width="120">
                            <a href="{:cmf_plugin_url('QbtAppUpdate://AdminIndex/info',['id'=>$vo['id']])}" >详情</a>
                            <a href="{:cmf_plugin_url('QbtAppUpdate://AdminIndex/del',['id'=>$vo['id']])}" class="js-ajax-delete">{:lang('DELETE')}</a>
                        </td>
                    </tr>
                </foreach>
                </tbody>
            </table>
            <ul class="pagination">{$page|default=''}</ul>
        </div>
    </form>
</div>
<include file="public/scripts"/>
</body>
</html>